package StudyCode.summary.mycollection;

import java.util.LinkedList;

/**
 * 版权所有 科技与人文(www.tah1986.com)
 */
public class CreateLinkedListFromArray {
	public static <T> LinkedList<T> linkedListOf(T... objects) {
		final LinkedList<T> list = new LinkedList<T>();
		for (T object : objects) {
			list.add(object);
		}
		return list;
	}
}
